package com.ruoyi.honor.domain;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 荣誉奖励对象 sys_honor_reward
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_honor_reward")
public class SysHonorReward extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 荣誉ID */
    @TableId(value = "honor_id", type = IdType.AUTO)
    private Long honorId;

    /** 荣誉名称 */
    @Excel(name = "荣誉名称")
    private String honorName;

    /** 荣誉类型（1个人 2集体） */
    @Excel(name = "荣誉类型", readConverterExp = "1=个人,2=集体")
    private String honorType;

    /** 荣誉级别（1校级 2市级 3省级 4国家级） */
    @Excel(name = "荣誉级别", readConverterExp = "1=校级,2=市级,3=省级,4=国家级")
    private String honorLevel;

    /** 获奖年份 */
    @Excel(name = "获奖年份")
    private String honorYear;

    /** 颁发部门 */
    @Excel(name = "颁发部门")
    private String honorDepartment;

    /** 荣誉描述 */
    @Excel(name = "荣誉描述")
    private String honorDescription;

    /** 荣誉图片 */
    @Excel(name = "荣誉图片")
    private String honorImage;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;

    public void setHonorId(Long honorId) 
    {
        this.honorId = honorId;
    }

    public Long getHonorId() 
    {
        return honorId;
    }

    public void setHonorName(String honorName) 
    {
        this.honorName = honorName;
    }

    public String getHonorName() 
    {
        return honorName;
    }

    public void setHonorType(String honorType) 
    {
        this.honorType = honorType;
    }

    public String getHonorType() 
    {
        return honorType;
    }

    public void setHonorLevel(String honorLevel) 
    {
        this.honorLevel = honorLevel;
    }

    public String getHonorLevel() 
    {
        return honorLevel;
    }

    public void setHonorYear(String honorYear) 
    {
        this.honorYear = honorYear;
    }

    public String getHonorYear() 
    {
        return honorYear;
    }

    public void setHonorDepartment(String honorDepartment) 
    {
        this.honorDepartment = honorDepartment;
    }

    public String getHonorDepartment() 
    {
        return honorDepartment;
    }

    public void setHonorDescription(String honorDescription) 
    {
        this.honorDescription = honorDescription;
    }

    public String getHonorDescription() 
    {
        return honorDescription;
    }

    public void setHonorImage(String honorImage) 
    {
        this.honorImage = honorImage;
    }

    public String getHonorImage() 
    {
        return honorImage;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("honorId", getHonorId())
            .append("honorName", getHonorName())
            .append("honorType", getHonorType())
            .append("honorLevel", getHonorLevel())
            .append("honorYear", getHonorYear())
            .append("honorDepartment", getHonorDepartment())
            .append("honorDescription", getHonorDescription())
            .append("honorImage", getHonorImage())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
